package com.ruoyi.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RealtimeGatherData2 {
    public String UserTermianlID ;
    public String IMEI ;
    public int TerminalID ;
    public int UserID ;
    public BigDecimal TotalFlow ;
    public BigDecimal ReadNumber ;
    public BigDecimal ReverseNumber ;
    public BigDecimal InstantNumber ;
    public BigDecimal InstantVelocity ;
    public BigDecimal Pressure ;
    public BigDecimal TerminalVol ;
    public int TerminalCSQ ;
    public String TerminalCSQDescribe ;
    public int ValveState ;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date TerminalTime ;
    public Date ReadDate ;
    public Date WarnFlag ;
    public String Warning ;
    public byte type ;
    public String UserName ;
    public String UserCode ;
    public String AreaName ;
    public String TerminalAddress ;
    public String Caliber ;
    public String TerminalPhone ;
    public String TerminalInstallAddr ;
    public String TerminalName ;
    public BigDecimal CurrentElectromagneticPressure ;
    public int ElectromagneticPressureType ;
}
